<?php
/* @var $this PartyPartyController */
/* @var $model PartyParty */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model,'id'); ?>
		<?php echo $form->textField($model,'id'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'create_date'); ?>
		<?php echo $form->textField($model,'create_date',array('size'=>6,'maxlength'=>6)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'write_date'); ?>
		<?php echo $form->textField($model,'write_date',array('size'=>6,'maxlength'=>6)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'create_uid'); ?>
		<?php echo $form->textField($model,'create_uid'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'write_uid'); ?>
		<?php echo $form->textField($model,'write_uid'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'code'); ?>
		<?php echo $form->textField($model,'code'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vat_number'); ?>
		<?php echo $form->textField($model,'vat_number'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'code_length'); ?>
		<?php echo $form->textField($model,'code_length'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'vat_country'); ?>
		<?php echo $form->textField($model,'vat_country'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'active'); ?>
		<?php echo $form->checkBox($model,'active'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'lang'); ?>
		<?php echo $form->textField($model,'lang'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'name'); ?>
		<?php echo $form->textField($model,'name'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'is_doctor'); ?>
		<?php echo $form->checkBox($model,'is_doctor'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'insurance_company_type'); ?>
		<?php echo $form->textField($model,'insurance_company_type'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'internal_user'); ?>
		<?php echo $form->textField($model,'internal_user'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'activation_date'); ?>
		<?php echo $form->textField($model,'activation_date'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'is_patient'); ?>
		<?php echo $form->checkBox($model,'is_patient'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'is_insurance_company'); ?>
		<?php echo $form->checkBox($model,'is_insurance_company'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'ref'); ?>
		<?php echo $form->textField($model,'ref'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'lastname'); ?>
		<?php echo $form->textField($model,'lastname'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'is_institution'); ?>
		<?php echo $form->checkBox($model,'is_institution'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'is_pharmacy'); ?>
		<?php echo $form->checkBox($model,'is_pharmacy'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'alias'); ?>
		<?php echo $form->textField($model,'alias'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model,'is_person'); ?>
		<?php echo $form->checkBox($model,'is_person'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton('Search'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->